package test.designpattern.dynamicProxy;

public class Runner implements IRunner {
    @Override
    public void run(String name) {
        System.out.println(name + "运动员开始跑步了...");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void jump() {
        System.out.println("运动员开始跳远了...");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
